import request from '@/utils/request'

export function getTodoTask(params) {
  return request({
    url: '/task/todo',
    method: 'post',
    data: params
  })
}

export function completeTask(params) {
  return request({
    url: '/task/complete',
    method: 'post',
    data: params
  })
}
